// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IComparedResults.cs" company="SMART business">
//   SMART business.
// </copyright>
// <summary>
//   The ComparedResults interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace ComparisonTool.Interfaces
{
    using System.Collections.Generic;

    using ComparisonTool.Models;

    /// <summary>
    /// The ComparedResults interface.
    /// </summary>
    public interface IComparedResults
    {
        /// <summary>
        /// The upload results.
        /// </summary>
        /// <param name="xrm">
        /// The xrm.
        /// </param>
        /// <returns>
        /// The <see cref="bool"/>.
        /// </returns>
        bool UploadResults(IXrm xrm);

        /// <summary>
        /// Gets or sets the events 1.
        /// </summary>
        List<object> Events1 { get; set; }

        /// <summary>
        /// Gets or sets the events 2.
        /// </summary>
        List<object> Events2 { get; set; }

        /// <summary>
        /// Gets or sets the rules 1.
        /// </summary>
        List<object> Rules1 { get; set; }

        /// <summary>
        /// Gets or sets the rules 2.
        /// </summary>
        List<object> Rules2 { get; set; }

        /// <summary>
        /// Gets or sets the attributes 1.
        /// </summary>
        Item Attributes1 { get; set; }

        /// <summary>
        /// Gets or sets the attributes 2.
        /// </summary>
        Item Attributes2 { get; set; }

        List<object> GetAttributes(int id, int compareType);
    }
}